package com.newly.driver.sdk.device.video.cloud.record.tencent;

import cn.hutool.core.annotation.Alias;
import com.tencentcloudapi.iotvideoindustry.v20201201.models.CreateRecordPlanResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author gjm guan
 * @date 2021/10/27 14:58
 * @desc 创建录制计划响应参数
 * PlanId	String	录制计划ID
 * RequestId	String	唯一请求 ID，每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
 */
@Data
public class TXCreateRecordPlanResp {
    /**
     * 录制计划ID
     */
    @ApiModelProperty("录制计划ID")
    @Alias("PlanId")
    private String planId;

    /**
     * 唯一请求 ID
     */
    @ApiModelProperty("唯一请求 ID")
    @Alias("RequestId")
    private String requestId;

    public TXCreateRecordPlanResp(CreateRecordPlanResponse resp) {
        this.planId = resp.getPlanId();
        this.requestId = resp.getRequestId();
    }

    public TXCreateRecordPlanResp() {
    }
}
